package com.example.demo.entity.responseJson;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author : 杨丽辉
 * @date : 2021/3/6 11:35
 * @description:
 */
@ApiModel("主页精准搜索作者信息")
public class HomePageAuthorInfoRes {
    /**
     *主键
     * 作者id
     * isnull 1
     */
    @ApiModelProperty(value="作者id", position=1)
    @TableId(type = IdType.ASSIGN_ID)
    private String authorId;

    /**
     * 作者昵称
     * isnull 0
     */        @ApiModelProperty(value="作者昵称", position=2)
    private String authorNickname;
    /**
     * 作者简介
     * isnull 0
     */        @ApiModelProperty(value="作者简介",position=3)
    private String authorInfo;
    /**
     * 作者头像
     * isnull 0
     */        @ApiModelProperty(value="作者头像",position=4)
    private String authorImg;
    /**
     * 作者关注的人数量
     * isnull 0
     */        @ApiModelProperty(value="作者关注的人数量（默认为0）",position=13)
    private Integer attentionCount;
    /**
     * 读者数
     * isnull 0
     */        @ApiModelProperty(value="读者数（默认为0）",position=14)
    private Integer readerCount;
    /**
     * 作者总共码字数
     * isnull 0
     */        @ApiModelProperty(value="作者总共码字数（默认为0）",position=15)
    private Integer totalWords;

    public String getAuthorNickname() {
        return authorNickname;
    }

    public void setAuthorNickname(String authorNickname) {
        this.authorNickname = authorNickname;
    }

    public String getAuthorInfo() {
        return authorInfo;
    }

    public void setAuthorInfo(String authorInfo) {
        this.authorInfo = authorInfo;
    }

    public String getAuthorImg() {
        return authorImg;
    }

    public void setAuthorImg(String authorImg) {
        this.authorImg = authorImg;
    }

    public Integer getAttentionCount() {
        return attentionCount;
    }

    public void setAttentionCount(Integer attentionCount) {
        this.attentionCount = attentionCount;
    }

    public Integer getReaderCount() {
        return readerCount;
    }

    public void setReaderCount(Integer readerCount) {
        this.readerCount = readerCount;
    }

    public Integer getTotalWords() {
        return totalWords;
    }

    public void setTotalWords(Integer totalWords) {
        this.totalWords = totalWords;
    }

    public String getAuthorId() {
        return authorId;
    }

    public void setAuthorId(String authorId) {
        this.authorId = authorId;
    }

    @Override
    public String toString() {
        return "HomePageAuthorInfoRes{" +
                "authorId='" + authorId + '\'' +
                ", authorNickname='" + authorNickname + '\'' +
                ", authorInfo='" + authorInfo + '\'' +
                ", authorImg='" + authorImg + '\'' +
                ", attentionCount=" + attentionCount +
                ", readerCount=" + readerCount +
                ", totalWords=" + totalWords +
                '}';
    }
}
